home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000260_Petri_member@newsguy.com_Tue Apr 27 09:34:40 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!newspeer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
  2. From: Petri <Petri_member@newsguy.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: If last word ends with '-' it gets joined with the next line
  5. Date: 26 Apr 2004 19:37:13 -0700
  6. Organization: Newsguy News Service [http://newsguy.com]
  7. Lines: 46
  8. Message-ID: <c6kh0p04dd@drn.newsguy.com>
  9. NNTP-Posting-Host: p-468.newsdawg.com
  10. X-Newsreader: Direct Read News 4.20
  11. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14978
  12.  
  13. Hi,
  14.  
  15. Just a quick question I hope; In the following script below, the lines "ftp site
  16. search mypattern-" and "set ftp verbose-mode off" at the end, become joined into
  17. "ftp site search mypatternset ftp verbose-mode off":
  18. ---8<---
  19. set auth ssl certs-ok
  20. set ftp authtype ssl
  21. set ftp autologin off
  22. set ftp passive-mode on
  23. set ftp filenames literal
  24. set transfer display off
  25. ftp myaddress myport
  26. if fail exit 1 Remote FTP connection failed
  27. set ftp command-protection-level private
  28. set ftp data-protection-level private
  29. ftp user myuser mypasswd
  30. if fail exit 2 Remote FTP login failed
  31. set ftp verbose-mode on
  32. ftp site search mypattern-
  33. set ftp verbose-mode off
  34. exit
  35. ---8<---
  36.  
  37. The server response is:
  38. ---8<---
  39. Doing case-insensitive search for 'mypatternset ftp verbose-mode off':
  40.   
  41. 0 directories found.
  42. ---8<---
  43.  
  44. It indicates that "ftp site search" was executed, but not with the parameter
  45. "mypattern-" as expected, but with "mypatternset ftp verbose-mode off" instead.
  46.  
  47. I tried getting around it by adding an empty line after the "ftp site search"
  48. command, but that only means the search pattern changes from "mypattern-" to
  49. "mypattern".
  50.  
  51. I assume this is a feature of some sort, but how do I disable it or get around
  52. it?
  53.  
  54. Many thanks in advance! :)
  55.  
  56.  
  57. Petri
  58.